﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.ParallelArrays;
using FPA = Microsoft.ParallelArrays.FloatParallelArray;
using BPA = Microsoft.ParallelArrays.BoolParallelArray;
using IPA = Microsoft.ParallelArrays.IntParallelArray;
using PA = Microsoft.ParallelArrays.ParallelArrays;

namespace CoreCalc.SheetDefinedFunctions.Accellerator
{
    public class ConstAccNode : AccNode
    {
        public float Value
        {  get;
            private set;
        }
        public ConstAccNode(float value)
    {
            this.Value = value;
    }
        public override FPA GenerateFPA(AccInputInfo info, int CallID)
        {
            return new FPA(Value, info.Values[0].GetLength(0), info.Values[0].GetLength(1));
        }

        
    }
}
